<template>
  <div class="elm-edit pfull" style="overflow: hidden;">
    <elm-page-tb>
      <template #top>
        <el-date-picker v-model="postData.now_year" type="year" value-format="yyyy" placeholder="选择年份" size="mini" style="width: 250px;" clearable></el-date-picker>
        <el-input v-model="postData.ei_name" placeholder="请输入员工名称关键字" prefix-icon='el-icon-search' size="mini" style="width: 250px; margin-left: 10px;" clearable></el-input>
        <right>
          <el-button-group>
            <el-button icon="el-icon-search" size="mini" @click="tablebinding()">查询</el-button>
          </el-button-group>
        </right>
      </template>
      <elm-table url="/business/analysis/cockpit/GetLaborCostList" :post-data="postData" :show-index="true">
        <el-table-column prop="ei_name" label="姓名" align="center" width="120px"></el-table-column>
        <el-table-column prop="org_name" label="所属部门" align="center"></el-table-column>
        <el-table-column prop="word_day" label="工作天数" align="center" width="120px"></el-table-column>
        <el-table-column prop="cope_salary" label="应发工资(元)" align="center" width="150px"></el-table-column>
        <el-table-column prop="real_salary" label="实发工资(元)" align="center" width="150px"></el-table-column>
        <el-table-column prop="month" label="工资月份" align="center"></el-table-column>
      </elm-table>
    </elm-page-tb>
  </div>
</template>

<script>
export default {
  extends: elmVueBase,
  data() {
    return {
      postData: {
        now_year: elm.parseTime(new Date(), '{y}'),
        ei_name: '',
      },
    }
  },
  created() {
  },
  mounted() {
  },
  methods: {
  
  }
}
</script>

<style scoped>
</style>